import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_task_record_by_unit_id_entity.g.dart';


@JsonSerializable()
class GetTaskRecordByUnitIdEntity {
  GetTaskRecordByUnitIdEntity();

  factory GetTaskRecordByUnitIdEntity.fromJson(Map<String, dynamic> json) => $GetTaskRecordByUnitIdEntityFromJson(json);
  int? checkCycle;
  String? checkCycleUnit;
  String? checkDepartmentId;
  String? checkDepartmentName;
  int? checkStatus;
  String? checkTaskId;
  String? checkTime;
  String? checkUserId;
  String? checkUserName;
  String? companyCode;
  String? createBy;
  String? createByDep;
  String? createById;
  String? createByMobile;
  String? createDate;
  String? dangerInvestigationId;
  String? hazardCode;
  String? id;
  String? inspectionDescription;
  List<String>? inspectionPhotos = [];
  List<String>? inspectionVideos = [];
  String? isInspection;
  String? mobileMe;
  int? overdueQuantityNum;
  List<String>? patrolVoices = [];
  String? planId;
  String? planName;
  int? quantityCompleted;
  String? riskEventId;
  String? riskEventName;
  String? riskMeasureDesc;
  String? riskMeasureId;
  String? riskMeasureName;
  String? riskObjectId;
  String? riskObjectName;
  String? riskUnitId;
  String? riskUnitName;
  String? supplementaryInspectionTime;
  String? taskNum;
  int? theNumberOfHiddenDangers;
  int? totalTaskNum;
  String? troubleshootContent;
  String? updateBy;
  String? updateById;
  String? updateDate;
  String? workEndTime;
  String? workKind;
  String? workStartTime;
  String? workType;

  Map<String, dynamic> toJson() => $GetTaskRecordByUnitIdEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
